﻿using System;

namespace SilenthinkContract.Domain
{
    public class ProductAdvisory : BaseEntity<long>
    {
        /// <summary>
        /// 分类:商品咨询,库存配送,发票保修,支付信息,促销优惠,其他问题
        /// </summary>
        public ProductAdvisoryCategory Category { get; set; }

        /// <summary>
        /// 产品Id
        /// </summary>
        public int ProductId { get; set; }

        /// <summary>
        /// 用户Id
        /// </summary>
        public long UserId { get; set; }

        /// <summary>
        /// 用户昵称
        /// </summary>
        public string NickName { get; set; }

        /// <summary>
        /// 问题
        /// </summary>
        public string Question { get; set; }

        /// <summary>
        /// 回复
        /// </summary>
        public string Answer { get; set; }

        /// <summary>
        /// 回复者
        /// </summary>
        public string Answerer { get; set; }

        /// <summary>
        /// 回复时间
        /// </summary>
        public DateTime? AnswerTime { get; set; }

        /// <summary>
        /// 满意
        /// </summary>
        public int Satisfaction { get; set; }

        /// <summary>
        /// 不满意
        /// </summary>
        public int DisSatisfaction { get; set; }

        /// <summary>
        /// 状态:Pending 待处理,Approved 经过检验的,Denied 已屏蔽,Deleted 已删除
        /// </summary>
        public ProductAdvisoryStatus Status { get; set; }
    }
}